package com.lmb.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lmb.bean.Setmeal;
import com.lmb.dao.SetmealDao;
import com.lmb.dto.DishDto;
import com.lmb.dto.SetmealDto;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    void saveWithDish(SetmealDto setmealDto);

    Page<SetmealDto> findPage(Integer page,Integer pageSize,String name);

    void deleteByIds(List<Long> ids);

    void updateWithFlavors(SetmealDto setmealDto);

    SetmealDto getByIdWithFlavors(Long id);

    void updateSetmealStatus(Integer status,List<Long> ids);
}
